package cn.iocoder.yudao.module.system.controller.admin.productionplandetail.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 生产计划详情分页 Request VO")
@Data
public class ProductionPlanDetailPageReqVO extends PageParam {

    @Schema(description = "生产计划id", example = "4255")
    private Integer planId;

    @Schema(description = "客户编号", example = "23053")
    private String customerId;

    @Schema(description = "供方名称", example = "李四")
    private String supplierName;

    @Schema(description = "客户名称", example = "王五")
    private String customerName;

    @Schema(description = "产品名称", example = "李四")
    private String productName;

    @Schema(description = "规格型号")
    private String specification;

    @Schema(description = "适用挂具")
    private String rack;

    @Schema(description = "挂具数量")
    private Integer rackNumber;

    @Schema(description = "单挂数量")
    private Integer singleHangingQuantity;

    @Schema(description = "分组")
    private String subgroup;


    @Schema(description = "成品不良数量")
    private BigDecimal cpDefectNum;


    @Schema(description = "成品库数量(良品数量)")
    private BigDecimal finishedProductNum;

    @Schema(description = "单圈最大量")
    private String maximumQuantity;

    @Schema(description = "计划量")
    private Integer plannedQuantity;

    @Schema(description = "计划量备注")
    private String notes;

    @Schema(description = "来货日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] goodDate;

    @Schema(description = "差异类型", example = "1")
    private String differenceType;

    @Schema(description = "交货日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] deliveryDate;
    @Schema(description = "剩余数量")
    private String syNum;

    @Schema(description = "下发批次号")
    private String issuedBatchNumber;

    @Schema(description = "是否下发：1否2是")
    private Integer issued;
    @Schema(description = "下发时间")
    private LocalDateTime[] issuedTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
